package com.wchat.dataobject;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "district")
@Data
public class District {
    
    /**
     *   `id` smallint(5) DEFAULT NULL,
     *   `name` varchar(270) DEFAULT NULL,
     *   `parent_id` smallint(5) DEFAULT NULL,
     *   `initial` char(3) DEFAULT NULL,
     *   `initials` varchar(30) DEFAULT NULL,
     *   `pinyin` varchar(600) DEFAULT NULL,
     *   `extra` varchar(60) DEFAULT NULL,
     *   `suffix` varchar(15) DEFAULT NULL,
     *   `code` char(30) DEFAULT NULL,
     *   `area_code` varchar(30) DEFAULT NULL,
     *   `order
     */

    @Id
    private Integer id;

    /**
     * 区域名称
     */
    private String name;

    /**
     * 区域id
     */
    private Integer parentId ;


    /**
     *
     */
    private String initial;

    /**
     *
     */
    private String initials;

    /**
     *
     */
    private String pinyin;


    /**
     *
     */
    private String extra;


    /**
     *
     */
    private String suffix;

    /**
     *
     */
    private String code;

    /**
     *
     */
    private String areaCode;

    /**
     *
     */
    private String order;

























































    
     
     
     
     
     
    
    
    
    
}
